package chuangyi.com.org.DOMIHome.adapter;

import android.content.Context;
import android.support.annotation.LayoutRes;

import chuangyi.com.org.ViewModel.ContextObservable;

/**
 * Created by zxh on 16/11/16.
 */

public class BindingListItem extends ContextObservable {
    private int layout;

    /**
     * 获取列表项的布局文件
     * @return
     */
    public int getLayout() {
        return layout;
    }

    /**
     * 设置列表项的布局文件
     * @param layout
     */
    public void setLayout(int layout) {
        this.layout = layout;
    }

    public BindingListItem(Context context, @LayoutRes int layout){
        super(context);
        this.layout = layout;
    }
}
